# 读取文件
ttt = open('code.txt')
t1 = ttt.readlines()
ks = []
for x in t1:
    xl = x.replace('\n', '').split('2022')
    for y in xl:
        y = y.strip()
        if y != '':
            ks.append('2022' + y)

print(ks)
print("===============")
# 读取文件
ttt1 = open('code1.txt')
t1 = ttt1.readlines()
ks1 = []
for x in t1:
    xl = x.replace('\n', '').split('2022')
    for y in xl:
        y = y.strip()
        if y != '':
            code1 = '2022' + y
            if code1 in ks:
                pass
            else:
                print(code1)

